<?php if(!class_exists('raintpl')){exit;}?><!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link href="http://localhost/kpi/html/style.css" rel="stylesheet" type="text/css" media = "screen">
<link href="http://localhost/kpi/html/print.css" rel="stylesheet" type="text/css" media = "print">

</head>
<body>
<div id = "wrapper">

<div id = "container">
	<h1 class = "header">สรุปการประเมิน</h1>
	<br>

	<div class = "center" id = "assessment">
		<button class="print" onclick="javascript:window.print()">พิมพ์รายงาน</button>
		<h2>สรุปผลคะแนนรวมการประเมินตนเองตามองค์ประกอบคุณภาพ</h2>
		<table cellpadding = "0" cellspacing = "0" border = "0" class = "list">
			<tr>
				<th class = "w450">องค์ประกอบคุณภาพ</th>
				<th class = "w80">คะแนนเฉลี่ย</th>
				<th class = "w110">ผลประเมิน</th>
			</tr>
			<?php $counter1=-1; if( isset($group) && is_array($group) && sizeof($group) ) foreach( $group as $key1 => $value1 ){ $counter1++; ?>
			<tr class = "alt<?php echo $key1%2;?>">
				<td><?php echo $value1["name"];?></td>
				<td><?php echo $value1["average"];?></td>
				<td><?php echo $value1["result"];?></td>
			</tr>
			<?php } ?>
		</table>
	</div>
	<div class = "clear"></div>
</div>

</div> <!-- wrapper -->

</body>
</html>